
// 表格的每列配置   后续需要可继续在这添加
import { minWidth } from '@/utils/width/columns'

export const columnsStatic = [
  { prop: 'id', label: 'ID', align: 'center', width: minWidth },
  { prop: 'title', label: '轮播图名称', align: 'center', width: 'auto' },
  { slot: 'image_url', label: '图片', align: 'center', width: 'auto' },
  { slot: 'episode_name', label: '跳转剧集', align: 'center', width: 'auto' },
  { prop: 'url', label: '跳转地址', align: 'center', width: 'auto' },
  { prop: 'app_name', label: '关联小程序', align: 'center', width: 'auto' },
  { prop: 'sort', label: '排序', align: 'center', width: 'auto' },
  { prop: 'p_v', label: 'pv', align: 'center', width: 'auto' },
  { prop: 'u_v', label: 'uv', align: 'center', width: 'auto' },
  { slot: 'created_at', label: '创建时间', align: 'center', width: 'auto' },
  { prop: 'admin_username', label: '创建人', align: 'center', width: 'auto' },
  { prop: 'flag_text', label: '状态', align: 'center', width: 'auto' },
  { slot: 'action' }
]

export const columnsSelectLibrary = [
  { slot: 'radio', label: '', align: 'center', width: minWidth },
  { prop: 'library_id', label: '短剧ID', align: 'center', width: minWidth },
  { prop: 'title', label: '短剧名', align: 'center' },
  { slot: 'cover', label: '封面', align: 'center' }
]

export const columnsSelectMp = [
  { prop: '', type: 'selection', align: 'center', width: minWidth },
  { prop: 'product_id', label: '小程序ID', align: 'center' },
  { prop: 'product_name', label: '小程序名称', align: 'center' }
]
